package cert

import (
	"crypto/tls"
	"sync"
)

var Cache=make(map[string]*tls.Certificate)

var m sync.Mutex

func add(host string,cert *tls.Certificate)  {
	m.Lock()
	Cache[host]=cert
	m.Unlock()
}

